<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
    <title>DPA</title>
    <style type="text/css">
        body {
            margin: 0px;
            padding: 0px;
            width: 100%;
            height: 100%;
            text-align: center;
        }

        ::-webkit-scrollbar {
            width: 0px;
        }

        .cus-icon {
            display: none;
            /*font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;*/
        }

    </style>
    <!--[if lt IE 9]>
    <script src="//static.csslcloud.net/js/swfobject.js?v=2018075"></script>
    <script src="//static.csslcloud.net/js/json3.min.js?v=2018075"></script>
    <![endif]-->
</head>
<body>
<div id="dp" onselectstart="return false;" onselect="return false;" ondblclick="dpDblClick();"
     style="position:absolute; left: 0; top: 0; border: 0; width: 100%; height: 100%;">
    <canvas id="drawingBoard" width="2800" height="2800" onselect="return false;"
            style="left: 0; top: 0; z-index: 20; position: absolute; height: 100%; width: 100%; border: 0px;"></canvas>
    <canvas id="laserPenBoard" width="2800" height="2800"
            style="left: 0; top: 0; z-index: 30; height: 100%; width: 100%; border: 0px;position: absolute;border:0px"></canvas>
    <canvas id="whiteBoard" width="1800" height="1800"
            style="left: 0; top: 0; z-index: 10; height: 100%; width: 100%; border: 0px; display: none;"></canvas>
    <canvas id="penBoard" width="1800" height="1800"
            style="left: 0; top: 0; z-index: 25; height: 100%; width: 100%; border: 0px;position: absolute;border:0px;display: block"></canvas>
    <iframe id="ifr" style="left: 0; top: 0; z-index: 10; height: 100%; width: 100%; border: 0; display: none;"
            sandbox="allow-same-origin allow-scripts"
            allow="autoplay"
            scrolling="no" allow-scripts allowfullscreen allowusermedia></iframe>
    <img id="picture_one"
         style="left: 0; top: 0; z-index: 10; height: 100%; width: 100%; border: 0px; display: none;">

    <div id="fls" style="left: 0; top: 0; z-index: 10; height: 100%; width: 100%; display: none;"></div>

    <div id="plugin" style="width: 100%;height: 100%;z-index: 25;position: fixed;overflow:hidden;left: 0px;top: 0px">
        <div id="bulletContainer"
             style="width: 100%;height: 100%;overflow:hidden;position: absolute;top: 0px;left: 0px"></div>
        <div id="marquee" style="width: 100%;height: 100%;position: absolute;z-index: 30;left: 0;top: 0;"></div>
    </div>
    <img class="cus-icon" id="cus-icon" width="48px" height="48px"
         src="">
    <img class="cus-icon" id="pen" width="32px" height="32px"
         src="">
</div>
<script src="utils.js?t=2019-07-29"></script>
<script src="config.js?t=2019-06-21"></script>
<script src="marquee.js?t=2019-06-21"></script>
<script src="barrage.js?t=2019-06-21"></script>
<script src="f.js?t=2019-06-24"></script>
<script src="db.js?t=2019-07-232"></script>
<script src="pc.js?t=2019-09-05"></script>
<script src="dp.js?t=2019-09-05"></script>
<script>
    /***
     * 针对安卓ios 制作本地化
     * **/
    var version = "2.0.0";
    window.onload = function () {
    var index = 0
    for (var i = 0; i < registerFunList.length; i++
    ) {
      if (typeof window[registerFunList[i]] === 'function') {
        index++
      }
    }
    if (index >= registerFunList.length) {
      if (typeof window.dpLoadComplete === 'function') {
        window.dpLoadComplete()
      }
    } else {
      window.dpLoadError(index.toString())
    }
    if (window.android && typeof  window.android.dpLoadComplete === 'function') {
      window.android.dpLoadComplete()
    }
    //window.webkit.messageHandlers.socket_message.postMessage({"type":type,param:data}
    try {
      window.webkit.messageHandlers.dpLoadComplete.postMessage({})
    } catch (e) {

    }
  }
  window.onerror = function (e) {
    if (window.android && typeof window.android.dpLoadError == 'function') {
      window.android.dpLoadError(e)
    }
    if (typeof window.dpLoadError === 'function') {
      window.dpLoadError(e)
    }
  }
</script>
</body>
</html>
